package com.rds.workflow.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rds.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 流程模板对象 rda_workflow_templete
 *
 * @author rds
 * @date 2021-11-22
 */
public class RdaWorkflowTemplete extends BaseEntity {
    /** id */
    private Long id;

    /** 流程模板对象名称 */
    private String name;

    /** 流程模板对象描述 */
    private String description;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;

    /** 状态 */
    private Integer status;

    /** 所有者 */
    private Integer ownerid;

    /** 编码 */
    private String code;

    /** 类型id */
    private Integer typeid;

    /** 策略id */
    private Integer policyid;

    /** 状态id */
    private Integer stateid;

    /** 版本 */
    private String revision;

    /** 是否默认坐标 */
    private String defaultAxis;

    /** 流程分派id */
    private Long assignmentypeid;

    /** 接收流程分类id */
    private Long toid;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getOwnerid() {
        return ownerid;
    }

    public void setOwnerid(Integer ownerid) {
        this.ownerid = ownerid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public Integer getPolicyid() {
        return policyid;
    }

    public void setPolicyid(Integer policyid) {
        this.policyid = policyid;
    }

    public Integer getStateid() {
        return stateid;
    }

    public void setStateid(Integer stateid) {
        this.stateid = stateid;
    }

    public String getRevision() {
        return revision;
    }

    public void setRevision(String revision) {
        this.revision = revision;
    }

    public String getDefaultAxis() {
        return defaultAxis;
    }

    public void setDefaultAxis(String defaultAxis) {
        this.defaultAxis = defaultAxis;
    }

    public Long getAssignmentypeid() {
        return assignmentypeid;
    }

    public void setAssignmentypeid(Long assignmentypeid) {
        this.assignmentypeid = assignmentypeid;
    }


    public Long getToid() {
        return toid;
    }

    public void setToid(Long toid) {
        this.toid = toid;
    }
}
